<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>

<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>

<authz:authorize ifAnyGranted="ROLE_SUPERVISOR">
<a href="<c:url value="/system/editarticle.form/${entry.id}"/>">
    <fmt:message key="app.articles.edit"/>
</a>
</authz:authorize>

<div class="entry">
    <div class="entry-left">
        <img src="/static-images/pic-article.gif">
    </div>
    <div class="entry-right">
        <div class="entry-header">
                <c:out value="${entry.header}"/>
        </div>
        <div class="entry-data">
            <fmt:formatDate value="${entry.date}"/>
            <a href="<c:url value="/viewprofile.form/${entry.author.username}"/>">
                <c:out value="${entry.author.fullname}"/>
            </a>
        </div>
        <div class="entry-text">
            <c:out value="${entry.text}" escapeXml="false"/>
        </div>
    </div>
</div>
